package org.lanqiao.tjut.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.lanqiao.tjut.bean.UsersEntity;
import org.lanqiao.tjut.dao.IUsersDao;
import org.lanqiao.tjut.service.IUserInfoService;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserInfoService implements IUserInfoService {
	// 组合到层对象，进行依赖注入
	// 组合service层，依赖注入
	@Resource
	private IUsersDao userDao;
	
	@Override
	public List<UsersEntity> selectUsersInfo4Login(UsersEntity userE) {
		// 调用dao进行业务逻辑处理
		return userDao.selectUsersInfo4Login(userE);
	}
}
